package org.esgi.model.impl;

import java.util.List;

import org.esgi.model.interfaces.IForm;
import org.esgi.model.interfaces.IQuestion;

public class Form implements IForm
{
	private String id_;
	private String name_;
	private List<IQuestion> questions_;
	
	@Override
	public String getId()
	{
		return this.id_;
	}

	@Override
	public void setId(String id)
	{
		this.id_ = id;
	}

	@Override
	public String getName()
	{
		return this.name_;
	}

	@Override
	public void setName(String name) 
	{
		this.name_ = name;
	}
	
	@Override
	public List<IQuestion> getQuestions() 
	{
		return this.questions_;
	}

	@Override
	public void setQuestions(List<IQuestion> questions)
	{
		this.questions_ = questions;
	}

	@Override
	public String toString() {
		return "Form [id_=" + id_ + ", name_=" + name_ + ", questions_="
				+ questions_ + "]";
	}
}
